package com.sdjzu.university.service;


import com.sdjzu.university.entity.information;
import com.sdjzu.university.mapper.informationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InformationServiceImpl implements InformationService {
    @Autowired
    informationMapper informationService;

    @Override
    public List<information> selectList() {
        return informationService.selectList(null);
    }

    @Override
    public int insert() {
        return informationService.insert();
    }

    @Override
    public int update() {
        return informationService.update();
    }

    @Override
    public int delete() {
        return informationService.delete();
    }
}
